package org.example.middleware.dynamic.thread.pool.sdk.domain;

import org.example.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @author 26418
 * @DATE 2025/2/26 15:53
 * @description 动态线程池服务
 */

public interface IDynamicThreadPoolService {

    List<ThreadPoolConfigEntity> queryThreadPoolList(); //查询线程池配置的集合

    ThreadPoolConfigEntity queryThreadPoolConfigByName(String threadPoolName);  //根据名称查询线程池

    void updateThreadPoolConfig(ThreadPoolConfigEntity threadPoolConfigEntity);  //更新动态线程池任务

}
